﻿using System.Data;
using BookTheBook.Data.NameDefinitions;
using Migrator.Framework;

namespace BookTheBook.Migrations
{
    [Migration(7)]
    public class _007_AddedImageColumnToBook : Migration
    {
        public override void Up()
        {
          Database.AddColumn(TableNames.Book, ColumnNames.Image, DbType.Binary);
        }

        public override void Down()
        {
          Database.RemoveColumn(TableNames.Book, ColumnNames.Image);
        }
    }
}
